package com.edu.his.service.impl;

import com.edu.his.domain.CheckRequest;
import com.edu.his.domain.MedicalTechnology;
import com.edu.his.mapper.MedicalTechnologyMapper;
import com.edu.his.service.MedicalTechnologyService;
import com.edu.his.util.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
 * 描述：
 * 创建人：飘
 * 创建时间：2024/12/16
 **/
@Service
public class MedicalTechnologyServiceImpl implements MedicalTechnologyService{

    @Autowired
    private MedicalTechnologyMapper medicalTechnologyMapper;

    @Override
    public R select(MedicalTechnology medicalTechnology) {
        return R.success(200,"查询成功",this.medicalTechnologyMapper.select(medicalTechnology));
    }

    @Override
    public R selectByRegiserId(CheckRequest checkRequest) {
        return R.success(200,"查询成功",this.medicalTechnologyMapper.selectByRegiserId(checkRequest));
    }
}
